Feature: Publicar POST
Scenarios
|
Chart |
Status Progress |
||||
|---|---|---|---|---|---|
|
1
|
|
||||
| Total duration: | |||||
| 1m 38.929s |
Scenario: Como un usuario inicio sesión y edito un post agrego una imagen y publico el post
Before
0m 1.046s
Given
I navigate to page "http://localhost:2368/ghost/#/signin"
0m 0.678s
And
I wait for 1 seconds
0m 1.118s
And
I set text "<USERNAME>" on element with xpath "<USERNAME_EID>"
0m 0.210s
And
I set text "<PASSWORD>" on element with xpath "<PASSWORD_EID>"
0m 0.147s
And
I wait for 1 seconds
0m 1.106s
Then
I click element with xpath "<BTN_SIGNIN_EID>"
0m 0.218s
And
I wait for 1 seconds
0m 1.192s
Given
I navigate to page "http://localhost:2368/ghost/#/editor/post?type=draft"
0m 0.197s
And
I wait for 1 seconds
0m 1.106s
And
I set text "POST publicado" on element with xpath "<POST_TITLE_ECLASS>"
0m 0.134s
And
I wait for 1 seconds
0m 1.101s
And
I click element with xpath "<ADD_IMAGE_ECLASS>"
0m 0.192s
And
I wait for 5 seconds
0m 5.308s
And
I click element with xpath "<INSERT_IMAGE_ECLASS>"
0m 0.182s
And
I wait for 5 seconds
0m 5.230s
And
I set text "Hey post has sido creado" on element with xpath "<CONTENT_ECLASS>"
0m 0.352s
And
I wait for 5 seconds
0m 5.240s
Then
I click element with xpath "<PUBLISH_MODAL_XPATH>"
0m 0.377s
And
I wait for 2 seconds
0m 2.238s
Then
I click element with xpath "<PUBLISH_BUTTON_XPATH>"
0m 0.345s
And
I wait for 2 seconds
0m 2.196s
Then
I click element with xpath "<PUBLISH_CONFIRMATION_BUTTON_XPATH>"
0m 0.256s
And
I wait for 3 seconds
0m 3.235s
Then
I click element with xpath "<CONTENT_ECLASS>"
0m 0.288s
And
I wait for 5 seconds
0m 5.232s
After
0m 0.005s
Screenshots
Before
NO IMAGE AVAILABLE
Given
I navigate to page "http://localhost:2368/ghost/#/signin"
And
I wait for 1 seconds
And
I set text "<USERNAME>" on element with xpath "<USERNAME_EID>"
And
I set text "<PASSWORD>" on element with xpath "<PASSWORD_EID>"
And
I wait for 1 seconds
Then
I click element with xpath "<BTN_SIGNIN_EID>"
And
I wait for 1 seconds
Given
I navigate to page "http://localhost:2368/ghost/#/editor/post?type=draft"
And
I wait for 1 seconds
And
I set text "POST publicado" on element with xpath "<POST_TITLE_ECLASS>"
And
I wait for 1 seconds
And
I click element with xpath "<ADD_IMAGE_ECLASS>"
And
I wait for 5 seconds
And
I click element with xpath "<INSERT_IMAGE_ECLASS>"
And
I wait for 5 seconds
And
I set text "Hey post has sido creado" on element with xpath "<CONTENT_ECLASS>"
And
I wait for 5 seconds
Then
I click element with xpath "<PUBLISH_MODAL_XPATH>"
And
I wait for 2 seconds
Then
I click element with xpath "<PUBLISH_BUTTON_XPATH>"
And
I wait for 2 seconds
Then
I click element with xpath "<PUBLISH_CONFIRMATION_BUTTON_XPATH>"
And
I wait for 3 seconds
Then
I click element with xpath "<CONTENT_ECLASS>"
And
I wait for 5 seconds
After
NO IMAGE AVAILABLE